package com.ctshk.rpc.order.tour.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(value="系列团订单收款使用优惠Req", description="系列团订单收款使用优惠Req")
public class SeriesOrderCollectionUseDiscountReq implements Serializable {

    @NotNull(message = "游客ID集合不能为空")
    @ApiModelProperty(value = "游客ID集合",required = true)
    private List<Long> touristIdList;

    @NotNull(message = "订单ID不能为空")
    @ApiModelProperty(value = "订单ID",required = true)
    private Long orderId;

    @ApiModelProperty(value = "团期ID")
    private Long scheduleId;

    @NotNull(message = "优惠Id不能为空")
    @ApiModelProperty(value = "优惠Id",required = true)
    private Long discountId;

    @ApiModelProperty(value = "用户Id")
    private Long userId;

}
